0fefbc9f867c753f7c278b8f9a4a40de97205da1,src/com/farmerbb/notepad/NoteViewFragment.java,NoteViewFragment,deleteNote,#String#,236
Before Change
private void deleteNote(String filename) {
// Build the pathname to delete file, then perform delete operation
File fileToDelete = new File(getActivity().getFilesDir().getAbsolutePath() + "/" + filename);
fileToDelete.delete();
}
After Change
private void deleteNote(String filename) {
// Build the pathname to delete file, then perform delete operation
File fileToDelete = new File(getActivity().getFilesDir() + "/" + filename);
fileToDelete.delete();
}